<?php
/**
 * Created by PhpStorm.
 * User: Administrator
 * Date: 2018/12/27
 * Time: 22:10
 */

namespace app\admin\model;


use think\Model;

class MemberUser extends Model
{

    protected $table = "duck_member_user";
    protected $autoWriteTimestamp = true;
    public function getSexAttr($value){
        $sex = [0=>'未知',1=>'男',2=>'女'];
        return $sex[$value];
    }

}